<?php

  session_start();
  include "config.php";
  include "ALcustomer.php";

  if(isset($_SESSION["user"]))
  {
    include "$header";
    include "$body";
?>

<div style="position:absolute; top:0px; left:1px; border:0;">
  <span class="prevPage">Change Customer Details:Search > </span>
  <span class="prevPage">Record Details > </span>
  <span class="prevPage">Confirm Details > </span>
  <span class="page">Success</span>
</div>
  
<?php

  include "$H_ccd";

  if(isset($_POST["ok"]))
  {
      echo "<SCRIPT language='Javascript'>";
      echo "  window.location.href = 'main.php'";
      echo "</SCRIPT>";
  }

  echo "Details for Customer No. <b>".$_SESSION["customerID"]."</b> has been changed successfully.<p>";

?>

<FORM name="ok" action="" method="post">
      <input name="ok" type="submit" value="OK">
</form>
</BODY>

<?php

  include "$footer";
  
  }

?>